#!/usr/bin/env python
# coding: utf-8

# In[ ]:


# -- coding: gbk --
import pandas as pd
from isnum import is_number  # 判断字符串是否可以转化为数据

## 存取文件路径
datafile_apart = 'Data_Preliminary_Dealed.csv'
data_apart = pd.read_csv(datafile_apart, low_memory=False, encoding='utf-8')

df_isn = []  # 数字列
df_non = []  # 非数字列

for u in data_apart.columns:
    flag = True

    df1 = list(data_apart[u].unique())
    for i in df1:
        if is_number(i):
            continue
        else:
            df_non.append(u)
            flag = False
            break
    if flag:
        df_isn.append(u)

